package com.ktwlsoft.archivemanage.domain.dao.repository;

import com.ktwlsoft.archivemanage.domain.dao.entity.MenuSource;
import com.ktwlsoft.archivemanage.domain.dao.entity.RoleMenuRelation;
import com.ktwlsoft.archivemanage.payload.role.EditRoleRequest;

import java.util.Collection;
import java.util.List;

public interface IRoleMenuMapper {

    int deleteByRoleId(Long roleId);

    int insert(RoleMenuRelation roleMenuRelation);

    int updateRoleInfo(EditRoleRequest request);

    List<RoleMenuRelation> findByRoleId(Long roleId);
}
